#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2025/1/5 16:32
# @Author : George

# 将home页面的url状态进行更新
def update_status(data_list):
    # 状态定义
    status_dict = {
        0: "success",
        1: "fail",
        2: "waiting",
        3: "execute"
    }
    for item in data_list:
        item["status"] = status_dict[item["status"]]
    return data_list